| lcCreateCommand | Home |
|
HANDLE lcCreateCommand ( HANDLE hLcWnd, int Id, LPCWSTR szName ); |
| hLcWnd | |
| Handle to LiteCAD graphics window. | |
| Id | |
| Command identifier. Must be unique for any command. Use offset from the constant LC_CMD_CUSTOM, in order do not collide with LiteCAD inner commands. This identifier will be used to call custom command by the lcWndExeCommand function. | |
| szName | |
| Command name. | |
| Handle to the created command object. If the function fails, the return value is NULL. |
| Code sample |